package com.xunlai.infra.permission.manager.web.vo.department;

import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.io.Serializable;

/**
 * @author liang
 * @date 12/20/22 8:34 PM
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class UpdateDepartmentReqVo extends CreateDepartmentReqVo implements Serializable {

    @Serial
    private static final long serialVersionUID = -2809305993501567124L;

    @NotNull(message = "主键ID不能为空", groups = {ValidUpdateDepartmentGroup.class})
    private Long id;

    public interface ValidUpdateDepartmentGroup {

    }
}
